﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QLNS_Client
{
    public partial class Form1 : DevExpress.XtraBars.Ribbon.RibbonForm
    {
        ServiceReference1.Service_QLNSClient sv = new ServiceReference1.Service_QLNSClient();
        public Form1()
        {
            InitializeComponent();
        }

       private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            pn_Main.Controls.Clear();
            UC_Can_Bo themCanbo = new UC_Can_Bo();
            themCanbo.Dock = System.Windows.Forms.DockStyle.Fill;
            pn_Main.Controls.Add(themCanbo);
        }

       
      
      

       private void btn_TinHoc_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_CanBo_TinHoc QL_tinhoc = new UC_CanBo_TinHoc();
           QL_tinhoc.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(QL_tinhoc);
       }

       private void btn_NgoaiNgu_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_CanBo_NgoaiNgu QL_ngoaingu = new UC_CanBo_NgoaiNgu();
           QL_ngoaingu.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(QL_ngoaingu);
       }


       private void barButtonItem14_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_CB_TDPT QL_tdpt = new UC_CB_TDPT();
           QL_tdpt.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(QL_tdpt);
       }

       private void btn_TDCM_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_CanBo_TDCM QL_TDCM = new UC_CanBo_TDCM();
           QL_TDCM.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(QL_TDCM);
       }

       private void btn_TDCT_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_CanBo_TDCT QL_tdct = new UC_CanBo_TDCT();
           QL_tdct.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(QL_tdct);
       }

       private void btn_TDQLNN_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_CanBo_TDQLNN QL_tdqlnn = new UC_CanBo_TDQLNN();
           QL_tdqlnn.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(QL_tdqlnn);
       }

       private void barButtonItem2_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_Thongke_TinHoc TK_tinhoc = new UC_Thongke_TinHoc();
           TK_tinhoc.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(TK_tinhoc);
       }

       private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_ThongKe_NgoaiNgu TK_ngoaingu = new UC_ThongKe_NgoaiNgu();
           TK_ngoaingu.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(TK_ngoaingu);
       }

       private void barButtonItem4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_ThongKe_TDCM TK_tdcm = new UC_ThongKe_TDCM();
           TK_tdcm.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(TK_tdcm);
       }

       private void barButtonItem5_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_ThongKe_TDCM_HocVi TK_hocvi = new UC_ThongKe_TDCM_HocVi();
           TK_hocvi.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(TK_hocvi);
       }

       private void barButtonItem6_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_ThongKe_TDCT TK_tdct = new UC_ThongKe_TDCT();
           TK_tdct.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(TK_tdct);
       }

       private void barButtonItem7_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           pn_Main.Controls.Clear();
           UC_ThongKe_QLNN TK_qlnn = new UC_ThongKe_QLNN();
           TK_qlnn.Dock = System.Windows.Forms.DockStyle.Fill;
           pn_Main.Controls.Add(TK_qlnn);
       }

       private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
       {
           
       }

       
    }
}
